package com.jeesite.modules.exam.quota.dto;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.utils.excel.annotation.ExcelField;
import com.jeesite.common.utils.excel.annotation.ExcelFields;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("指标汇总列表查询返回")
public class ExamQuotaDataDto extends DataEntity<ExamQuotaDataDto> {

    @ApiModelProperty("指标id")
    private String id;
    @ApiModelProperty("主表id")
    private String quotaId;
    @ApiModelProperty("考核任务id")
    private String examId;
    @ApiModelProperty("考核年度")
    private String examYear;
    @ApiModelProperty("版本号")
    private Long versionNumber;
    @ApiModelProperty("版本名称")
    private String versionName;
    @ApiModelProperty("汇总状态（0删除、1已保存、2已发布）")
    private Long sumStatus;
    @ApiModelProperty(value = "指标类别", notes = "指标类型（1关键指标、2单项指标）")
    private String quotaGroup;
    @ApiModelProperty(value = "指标分类（1.普通指标、2加分项指标、3减分项指标）", notes = "只有：1.普通指标、3减分项指标")
    private String quotaClass;
    @ApiModelProperty(value = "指标类别", notes = "")
    private String quotaType;
    @ApiModelProperty("序号（排序列）")
    private Long sortNum;
    @ApiModelProperty("目标内容")
    private String quotaContent;
    @ApiModelProperty("单位（数学或物理方面的单位）")
    private String quotaUnit;
    @ApiModelProperty("权数（分值）")
    private Double quotaWeight;
    @ApiModelProperty("本年度目标")
    private String currentYaerGoal;
    @ApiModelProperty("上一年度目标任务")
    private String lastYaerGoal;
    @ApiModelProperty("上一年度完成情况")
    private String lastYearComplete;
    @ApiModelProperty(value = "是否补充细则（1是、2否）", notes = "只有单项指标需要填此处")
    private String fileFlag;
    @ApiModelProperty("备注")
    private String remarks;
    @ApiModelProperty("被考核单位编码")
    private String exameOrg;
    @ApiModelProperty("被考核单位名称")
    private String exameOrgName;
    @ApiModelProperty("引用指标id")
    private String quotaInfoId;
    private String gradeOrg;
    private String gradeOrgName;
    private String type;
    private String orgType;
    private String assessMethod;
    private String detailFile;
    private String quotaTypes;

    private String[] types;

    public String[] getTypes() {
        return types;
    }

    public void setTypes(String[] types) {
        this.types = types;
    }

    public String getQuotaTypes() {
        return quotaTypes;
    }

    public void setQuotaTypes(String quotaTypes) {
        this.quotaTypes = quotaTypes;
    }

    public String getDetailFile() {
        return detailFile;
    }

    public void setDetailFile(String detailFile) {
        this.detailFile = detailFile;
    }

    public String getAssessMethod() {
        return assessMethod;
    }

    public void setAssessMethod(String assessMethod) {
        this.assessMethod = assessMethod;
    }

    public String getOrgType() {
        return orgType;
    }

    public void setOrgType(String orgType) {
        this.orgType = orgType;
    }

    /**
     * 指标汇总表id
     */
    private String sumQuotaId;
    private String sort;
    private String titleExam;

    public String getQuotaId() {
        return quotaId;
    }

    public void setQuotaId(String quotaId) {
        this.quotaId = quotaId;
    }

    public String getExamId() {
        return examId;
    }

    public void setExamId(String examId) {
        this.examId = examId;
    }

    public String getExamYear() {
        return examYear;
    }

    public void setExamYear(String examYear) {
        this.examYear = examYear;
    }

    public Long getVersionNumber() {
        return versionNumber;
    }

    public void setVersionNumber(Long versionNumber) {
        this.versionNumber = versionNumber;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public Long getSumStatus() {
        return sumStatus;
    }

    public void setSumStatus(Long sumStatus) {
        this.sumStatus = sumStatus;
    }

    public String getQuotaGroup() {
        return quotaGroup;
    }

    public void setQuotaGroup(String quotaGroup) {
        this.quotaGroup = quotaGroup;
    }

    public String getQuotaClass() {
        return quotaClass;
    }

    public void setQuotaClass(String quotaClass) {
        this.quotaClass = quotaClass;
    }

    public String getQuotaType() {
        return quotaType;
    }

    public void setQuotaType(String quotaType) {
        this.quotaType = quotaType;
    }

    public Long getSortNum() {
        return sortNum;
    }

    public void setSortNum(Long sortNum) {
        this.sortNum = sortNum;
    }

    public String getQuotaContent() {
        return quotaContent;
    }

    public void setQuotaContent(String quotaContent) {
        this.quotaContent = quotaContent;
    }

    public String getQuotaUnit() {
        return quotaUnit;
    }

    public void setQuotaUnit(String quotaUnit) {
        this.quotaUnit = quotaUnit;
    }

    public Double getQuotaWeight() {
        return quotaWeight;
    }

    public void setQuotaWeight(Double quotaWeight) {
        this.quotaWeight = quotaWeight;
    }

    public String getCurrentYaerGoal() {
        return currentYaerGoal;
    }

    public void setCurrentYaerGoal(String currentYaerGoal) {
        this.currentYaerGoal = currentYaerGoal;
    }

    public String getLastYaerGoal() {
        return lastYaerGoal;
    }

    public void setLastYaerGoal(String lastYaerGoal) {
        this.lastYaerGoal = lastYaerGoal;
    }

    public String getLastYearComplete() {
        return lastYearComplete;
    }

    public void setLastYearComplete(String lastYearComplete) {
        this.lastYearComplete = lastYearComplete;
    }

    public String getFileFlag() {
        return fileFlag;
    }

    public void setFileFlag(String fileFlag) {
        this.fileFlag = fileFlag;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getExameOrg() {
        return exameOrg;
    }

    public void setExameOrg(String exameOrg) {
        this.exameOrg = exameOrg;
    }

    public String getExameOrgName() {
        return exameOrgName;
    }

    public void setExameOrgName(String exameOrgName) {
        this.exameOrgName = exameOrgName;
    }

    public String getQuotaInfoId() {
        return quotaInfoId;
    }

    public void setQuotaInfoId(String quotaInfoId) {
        this.quotaInfoId = quotaInfoId;
    }

    public String getGradeOrg() {
        return gradeOrg;
    }

    public void setGradeOrg(String gradeOrg) {
        this.gradeOrg = gradeOrg;
    }

    public String getGradeOrgName() {
        return gradeOrgName;
    }

    public void setGradeOrgName(String gradeOrgName) {
        this.gradeOrgName = gradeOrgName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSumQuotaId() {
        return sumQuotaId;
    }

    public void setSumQuotaId(String sumQuotaId) {
        this.sumQuotaId = sumQuotaId;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getTitleExam() {
        return titleExam;
    }

    public void setTitleExam(String titleExam) {
        this.titleExam = titleExam;
    }

    @ExcelFields({
            @ExcelField(title = "被考核单位", attrName = "exameOrgName", align = ExcelField.Align.CENTER, sort = 10),
            @ExcelField(title = "指标类别", attrName = "quotaType", dictType = "dc_quotaType", align = ExcelField.Align.CENTER, sort = 20),
            @ExcelField(title = "序号", attrName = "sortNum", align = ExcelField.Align.CENTER, sort = 30),
            @ExcelField(title = "目标内容", attrName = "quotaContent", align = ExcelField.Align.CENTER, sort = 40),
            @ExcelField(title = "单位", attrName = "quotaUnit", align = ExcelField.Align.LEFT, sort = 50),
            @ExcelField(title = "权数", attrName = "quotaWeight", align = ExcelField.Align.CENTER, sort = 60),
            @ExcelField(title = "本年度目标", attrName = "currentYaerGoal", align = ExcelField.Align.CENTER, sort = 70),
            @ExcelField(title = "考核方式", attrName = "assessMethod", align = ExcelField.Align.CENTER, words = 10, sort = 75),
            @ExcelField(title = "上一年度目标任务", attrName = "lastYaerGoal", align = ExcelField.Align.CENTER, sort = 80),
            @ExcelField(title = "上一年度完成情况", attrName = "lastYearComplete", align = ExcelField.Align.CENTER, sort = 95),
            @ExcelField(title = "备注", attrName = "remarks", dictType = "dc_exam_remarks", align = ExcelField.Align.LEFT, sort = 800),
            @ExcelField(title = "考核评分单位", attrName = "gradeOrgName", align = ExcelField.Align.CENTER, words = 15, sort = 900),
    })
    public ExamQuotaDataDto() {
    }

}
